﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ZhongKeSite.Entity
{
    /// <summary>
    /// 公司基本资料
    /// </summary>
    [Table("Company")]
    public class Company
    {
        [Key]
        [MaxLength(50)]
        public string ID { get; set; }
        /// <summary>
        /// 网站名称
        /// </summary>
        [MaxLength(100)]
        public string SiteName { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        [MaxLength(200)]
        public string CompanyName { get; set; }
        /// <summary>
        /// Logo图标
        /// </summary>
        [MaxLength(200)]
        public string LogoImage { get; set; }
        /// <summary>
        /// 备案号
        /// </summary>
        [MaxLength(50)]
        public string WebNumber { get; set; }
        /// <summary>
        /// 服务热线
        /// </summary>
        [MaxLength(50)]
        public string ServicePhone { get; set; }
        /// <summary>
        /// 服务邮箱
        /// </summary>
        [MaxLength(100)]
        public string ServiceEmail { get; set; }
        /// <summary>
        /// 联系邮箱
        /// </summary>
        [MaxLength(100)]
        public string Email { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [MaxLength(50)]
        public string ContactPhone { get; set; }
        /// <summary>
        /// 联系地址
        /// </summary>
        [MaxLength(500)]
        public string Address { get; set; }

        [MaxLength(50)]
        public string AddBy { get; set; }
        public Nullable<DateTime> AddDate { get; set; }
        [MaxLength(50)]
        public string UpdateBy { get; set; }
        public Nullable<DateTime> UpdateDate { get; set; }
    }
}
